package com.lktx.bbfactory.entiy.VO;
import cn.hutool.json.JSONUtil;
import com.lktx.bbfactory.entiy.DTO.GanttConfigDto;
import lombok.Data;

import java.util.List;
import java.util.Set;

@Data
public class productListVo {
    private Long id;
    private Long projectId;
    private String  projectName;
    private String clientUsername;
    private String name;
    private String type;
    private Long amount;
    private Long finishAmount;
    private String process;


    private List<GanttConfigDto> ganttConfig;

    public void setGanttConfig(String ganttConfig) {
        if (ganttConfig!=null){
            this.ganttConfig = JSONUtil.toList(ganttConfig, GanttConfigDto.class);
        }
    }
}
